home *** CD-ROM | disk | FTP | other *** search
/ Software USA 5 #5 / Software USA Volume 5.05.iso / mac / Children / Bugs Bannis / Fantasoft.sea / Realmz 6.0.3 / Scenarios / Tutorial / Data SD2 < prev    next >
Text File  |  1999-03-11  |  63KB  |  1 lines

  1. flThe purpose of this tutorial is not to give you an example of every possible thing you can do with Divinity.  That would be nearly impossible.  However, it will give you examples of each code and the basics of how it works.                                flThe purpose of this tutorial is not to give you an example of every possible thing you can do with Divinity.  That would be nearly impossible.  However, it will give you examples of each code and the basics of how it works.                                ıCode = 1 just displays a string.  This is string #2 you are reading right now.  If you put a negagive (-) in front of the string ID then it will display without waiting for the player to click the mouse.  The next string is just such an example.          ıThis string was just displayed and did not wait for the player to hit the mouse button before moving on to the next code in the script.  The next code in the script played a sound.  That is why you heard a sound right after the string was shown.          ÈCode = 2 will send the player to a battle.  You can make this a simple battle or make it one of a random set of battles.  Putting a negative in front of the battle ID # will cause the party to be surprised.  This is a simple batttle.                      ñThis is an example of the party getting surprised.  It is battle #1 but since a -1 is used in the extended codes it causes the player to be surprised.                                                                                                         ˇThis is an example of how to send the party to a random battle.  It will randomize a battle between battles #1 through Battles #3.  In addition, it will play sound 30001 before the battle (A growl) and will only award VICTORY POINTS.  The player will NOT ˙Code = 3  allows for a simple branch depending on whether the player clicks Yes/No or on the Left/Right chioces.  This example is a simple Yes/No question.  If they answer Yes it will continue with the script.  If they answer No it will back them up.     ∑In this example, it will give them two choices.  The string #s of the two choices are specified.  The branch testing is the same as if the left side was YES and the Right side was NO.                                                                        Choice #1 (YES)                                                                                                                                                                                                                                                Choice #2 (NO)                                                                                                                                                                                                                                                 ÓThis is exactly the same as the previous example only instead of backing the party up if they answer NO it will branch them to an Extra Action Point.  There you can script it to do whatever you want.  In this case it sends them to X-AP #0                 üYou could just as easily send them to a simple or complex encounter instead of the X-AP.  It 's up to you as the branch action is specified in the extra codes.                                                                                                vCode = 4 sends the part to a simple encounter.  Code 4 has no options.  This example sends them to Simple Encounter #0                                                                                                                                         ÓThis is the prompt string used in simple encounter #4.  It will be displayed each time this simple encounter is offered to the player.  In this example it will offer 3 choices.  After they pick 3 times it will timeout and go to result #4.                 You picked Option #1                                                                                                                                                                                                                                           You picked Option #2                                                                                                                                                                                                                                           You picked Option #3                                                                                                                                                                                                                                           ÆYou have picked 3 times.  This encounter is designed to timeout after 3 picks.  After 3 picks it defaults to Result #4.  This message was displayed from the Result #4 script.                                                                                 ÊCode = 5 will send the party to a complex encounter.  These are far and away the hardest things to script.  These examples will not get too hairy as it is best learned by experience.  This will now send you to Complex Encounter #0                         ΩCode 6 activates a shop.  The SHOP ID is placed in the ID section.  You can have up to 20 shops in each game and each keeps track of which items it has.  This example sends you to shop ID 1                                                                  ’Code = 7 can be used to change the script of any action point, X-AP or simple or complex encounter result script.  It will most often be used the chage the script of a standard AP so we will demonstrate this here.                                          gDepending on which well you walk on first it will change what happens when you walk on the second well.                                                                                                                                                        ¨You just walked on this well first.  I know this because if you would have walked on the other well, it would have changed this script to say you walked on this one second.                                                                                   $You just walked on this well second.                                                                                                                                                                                                                           ¯Code = 8 lets  you script a lot of action points to be identical to just one.  This can save a lot of time and headache.   This action points just prints this text.  The two below examples will also do the same as they use code 8 to mimic this one.       $This script has continued executing.                                                                                                                                                                                                                           ¡Code = 9 just plays a sound.  The ID of the sound is played without waiting for any other action.  If the ID is negative then it will play and stop executing codes until the sound is completed.                                                              ^Play with a delay will happen next.  After the sound plays the script will contiue to execute.                                                                                                                                                                 dCode = 10 Gives a treasure.  This is treasure #1  It consists of 2 daggers and a Robe of the Magi +2                                                                                                                                                           ´You can also give victory points as well as wealth.  This example gives 1000 victory points as well as a random amount from 1 to 500 gold, 10 gems and 2 pieces of jewelry.                                                                                    sCode = 11 will award just victory points.  This is a quick way to award points without having to create a treasure.                                                                                                                                            ÉCode = 12 will allow you to change land tiles.  This example will place a tile of water a few steps south of your current position.                                                                                                                            ƒCode 13 will alow you to enable or disable action points.  In this example, the well below will cause a battle.  However, if you walk on the bush it will deactivate the action point over the well.                                                           EAction Point 21 deactivated.  The well will no longer cause a battle.                                                                                                                                                                                          ØAll victory points are subject to change according to the difficulty of the game.  i.e.  If the player is playing at 50% difficulty, the amount awarded will be reduced by 50%.                                                                                ’Code = 14 will allow you to pick characters.  The idea of picking characters is you can later execute codes that only affect characters that are picked.  In this example, you will be required to pick 2 characters.                                          ‡If a code -14 is encountered.  It will reverse the pick.  In this case it will ask you to pick one character.  It will then actualy PICK all other characters.  This lets you execute codes on those the character did NOT pick.                               ‹Code = 15 allows you to heal or damage any characters that are picked.  In this case, if you just performed code 14 it would have had you pick 2 characters.  It then reversed the pick so those were the only 2 NOT picked.                                   ÷We will now DAMAGE each picked character a random amount from 2 to 12 points.  This is done by setting the multiplyer to -2 and setting the amount from 1 to 6.  This simulates damage as if it were 2 six sided dice.                                         ÂCode = 16 works exactly like code 15.  The only change is instead of healing or hurting those that are picked, it does the healing/damage to each character in the party.  In this case we will heal each member from 2 to 12 points.                          ôNow that you picked 2 characters.  Lets do a code 15 which can heal/hurt all those picked.  In this case we will heal each from 2 to 12 points of damage.                                                                                                      ˚Now that you picked 1 character the game unpicks that character and then picks all the others.  That is because this was a -14 code. Lets do a code 15 which can heal/hurt all those picked.  In this case we will heal each from 2 to 12 points of damage.    ˘Code = 17 will cast a spell on each picked character.  First we will pick 2 characters and then we will cast a spell on them.  In this case we will cast spell 1102 which is Enchanted Blade.  We will cast it at power level 7 on each picked character.      £Code = 18 will cast a spell on each party member.  In this case we will cast spell 1302 which is Adrenalin.  We will cast it at power level 7 on each party member.                                                                                            —Code = 19 will display a random string between a set range of string numbers.  Example:  Say you define strings 1 through 10 to have a random hint.  You can use this to have a crystal ball give a random hint.                                               MIn this case it will display a random string from string # 47 to string # 50.                                                                                                                                                                                  .String # 47 used in the random string example.                                                                                                                                                                                                                 .String # 48 used in the random string example.                                                                                                                                                                                                                 .String # 49 used in the random string example.                                                                                                                                                                                                                 .String # 50 used in the random string example.                                                                                                                                                                                                                 ˛Code = 20 will move the party to a specific location.  If the new location is an action point, it will load the script for that action point and begin executing the script for the new action point.  In this example we will teleport you to the gravestone. uYou just landed on the gravestone and this strings is displayed as part of the action point placed on the gravestone.                                                                                                                                          ÓCode = 21 will branch depending on whether somebody in the party has a specific item or not.  In this case, if anybody has the dagger "Frozen Viper" the mushroom clump below will branch you to X-AP #2.  If not it will continue its script.                 âYou can get a viper at the hole next to the mushroom.  Try walking on the clump first and then get the frozen viper and walk on it again.                                                                                                                      Checking for Frozen Viper.                                                                                                                                                                                                                                     4You did not have it so we continued with the script.                                                                                                                                                                                                           ìYou had the Frozen Viper.  This message is displayed as part of the script in X-AP #2.  You were branched to this X-AP as part of the code 21 test.                                                                                                            ŸCode = 22 can alter the status of an item if the party has it.  In this case, if you still have the Frozen Viper this action point will check for it and change all Frozen Vipers (Item #9) into item #1 (Normal Dagger).                                      TYou have just walked south of  walled in area.  This area is CRAWLING WITH BROWNIES.                                                                                                                                                                           —Code = 23 can alter some aspects of a random rectangle.  In this case, the area just south of the walled in section is Crawling with Brownies.  It is actually just activating random rectangle #1 that is there.                                              ≥If you walk over the left gravestone it will deactivate that rectangle by setting the Times in 10,000 to 0.  The right gravestone will re-activate it by setting it back to 10,000.                                                                            #Random Rectangle #1 is reactivated.                                                                                                                                                                                                                            #Random Rectangle #1 is deactivated.                                                                                                                                                                                                                            ÛCode = 24 marks an action point to be kept around after it is done executing.  In almost every example we have seen up to this point, the action point ended with a code 24.  This allows you to walk over those action points over and over again.            ¸Code = 24 marks an action point to be erased after it's done executing.  This is the default action for any action point after the script has finished executing. In a few special situations a code 25 can be handy but you will not need to use them much.   ÎThis action point ends with a code 25.  When the script is done it will delete itself.  In the mushroom patch below there is another action point with no code 25.  It will still delete itself by default unless a code 24 is encountered.                    xThis is the test action point.  It will now delete itself as the script is finished and no code 24 has been encountered.                                                                                                                                       –Code = 28 will just center the screen.  This code is largely obsolete now.  It was used in a very old version.  However, I have left it in as you never know when something as simple as this may come in handy.                                               ‰Code = 26 will just prompt the player to hit the mouse button.  This lets you make the player pause to think about something.  By and large though this is an obsolete code but may still have some use to somebody so I left it in.                           ıCode = 27 lets you display a picture.  The most often use of this in a Realmz scenario was to show the splash screen for the scenario when you began a new game.  Due to space limitations and download sizes we did not use a whole lot of pictures.          ˝However, many of you out there may fancy yourself the starving artist and may want to flash all kinds of pictures around.  If that is the case code 27 lets you do that.  Using ResEdit you can place the Pictures in the resource fork of the scenario file.  πand then flash them on the screen as part of the script.  For more info on how to install your pictures for use see the manual.  We will now flash a picture on the screen as an example.                                                                      îCode = 29 lets you give maps to the party.  In this case we will give you map number 1 which should show the area around the start of this tutorial.                                                                                                           ÒCode = 30 lets you pick characters depending on whether or not they made a check vs. a special ability.  In this example we will make a check on each characters ability to detect trap.  All those that fail will fall in a pit and take damage.              ÁSince the check is for a success and we want to pick those that fail, we need to put the special ability checked for as a negative.  In this case we want to check for special ability 6.  So we put in -6 to pick all those that fail.                        ∞O.K.  We just performed the check.  Now we will give 1-12 damage to each that failed.  If any of your characters took damage it will mean they failed the Check vs. Detect Trap.                                                                               ˙Code = 31 lets you branch on a check vs. special ability.  This is similar to code 30 only instead of picking characters it will branch to an X-AP depending on whether or not a character is successful. One character  is picked for testing by default.     üIn this case, we will do a check vs. Disarm Trap.  If the character fails we will branch to an X-AP that would deal with it as if a chest exploded or whatever.                                                                                                ZYour character was successful.  You open the chest and inside you find........... NOTHING!                                                                                                                                                                     `Your character failed.  You open the chest and inside you find only horrible pain and suffering.                                                                                                                                                               ÃCode = 32 will activate the temple button. You specify the inflation rate (100 = normal prices, 200 = Double prices etc.) as the ID.  In this case we will send you to a temple that has 150% normal prices.                                                   ›Code = 33 allows you to take gold or gems from the party.  Depending on the options you specify you can continue/stop the script or branch the party to an encounter or X-AP depending on whether or not they have the money.                                  ˇIn this case, you will be asked for 5000 gold.  If you have it then it will continue with the script.  If not it will just stop executing the script.  This code can be very tricky as it has a lot of options.  It lets you branch around inside an encounter ∑i.e.  If you place code 33 in the Result #1 of a simple encounter you could branch to Result #3 and even start executing the script part way down.  Our example however is very simple.                                                                        ˙Code = 34 lets you break an encounter loop.  You can set your encounters to just keep asking the player for a choice.  However, there may be a time when you want to just bust out of the encounter all together without fear of what the script might do.     kThis code is really only for use in the Results of the Simple and Complex Encounters and is not often used.                                                                                                                                                    –Code = 35 lets you eliminate an encounter choice.  Simple encounters give you up to 4 choices you can give the player.  This code lets you erase one of those choices.   This is only used in simple encounters.                                               —The below clump of mushrooms has a simple encounter.  Each time you make a choice, a code 35 will be used to ease the choice you just made.  After 3 choices it will default to result #4 and exit the encounter.                                              ØMake any choice you want.  After you do, that choice will be eliminated and you can choose again.  After 3 choices it will default to result #4 and exit this simple encounter.                                                                                ˆCode = 66 will let you enable or disable the ability for the party to camp.  As an example, if want the party not to camp inside a city, put a Code 66  ID  1 as they enter the city.  When they leave, execute a Code 66 ID 0 to let them camp again.                                                                                                                                                                                                                                                                        ⁄Code = 37 lets you send the party to a dungeon level or bring them back from a dungeon level.  In this case we will send you to dungeon 0  at an  X: Y: location of 2, 2 and have you face south as you enter the dungeon.                                     fiCode = 38 is similar to code 21 in that it lets you branch depending on whether or not anybody in the party has a specific item.  Code 38 differs in that it lets you branch around from inside a simple or complex encounter.                                 ˙i.e.  If you are executing a script that is in Result #1 of a simple encounter, you can put a code 38 to test for an item within that result script and branch to a different result script.  This code is used only in the result scripts for encounters.     ‘The mushroom patch below will send you to a simple encounter.  Depending on the choice you pick, it will test for various objects and branch you to different result codes based on whether or not you possess them.                                           öMake a choice and it will branch after testing for the appropriate item.  If you have the item it will branch, otherwise it will continue with the script.                                                                                                     MYou did not have the item tested for and the script has continued and exited.                                                                                                                                                                                  5You had rations and it is now branching to result #3.                                                                                                                                                                                                          5You had torches and it is now branching to result #3.                                                                                                                                                                                                          ‘Code = 39 lets you extend the script for an action point.  The default length of an action point is 8 codes/id combinations.  If you want to use more than 8 you can extend it by placing more codes in an Extra AP.                                           ÈWhen a code 39 is encountered it loads the X-AP and continues to execute the script as if it had a fresh set of codes.  In this example you will see a code 39 with an ID 6.  That will load X-AP 6 and start to execute the codes there.                      cThis string is being displayed from X-AP 6.  It is was loaded when the code 39 - 6 was encountered.                                                                                                                                                            ŒCode = 40 lets you branch after checking for a party condition such as levitation, water breathing, silent sentry etc.  We will now check to see if you have a torch burning.  If you do you will be attacked.                                                 0You had a torch burning so you will be attacked!                                                                                                                                                                                                               1You did not have a torch burning....wise choice.                                                                                                                                                                                                               ıCode = 41 Will allow you to remove a choice from a simple encounter.  Code 35 will let you remove a choice from a currently active simple encounter.  Code 41 will let you remove a choice from an encounter without actually being in the encounter.          —Code = 42 is a simple percent check.  If the check is successful the script will continue.  In this example, there is a 50% chance the script will branch to X-AP 8.  Otherwise it will continue with the script.                                              -The script continued to execute... this time.                                                                                                                                                                                                                  ,The script branched to extra action point 8.                                                                                                                                                                                                                   éCode = 43 lets you give characters conditions.  In this case all your characters will be given protection from 2nd level spells for 10 rounds.                                                                                                                 nCode 44 is similar to code 35 in that it lets you eliminate a choice for a currently active complex encounter.                                                                                                                                                 ˇCode 45 will teleport your party only.  If they land on another active action point it will not execute the script of the new action point.  In this example we will move you over to the action point for code 44 but nothing will happen once you have moved.ÚCode 46 will branch depending on whether or not a specific quest flag is set or clear.  You have 100 flags that you can use to represent quests.  We will now test to see if quest #1 is set (Meaning complete).  If so, we will branch to X-AP 9.             5Quest #1 appears to be clear so the script continued.                                                                                                                                                                                                          <Quest #1 appears to be set so the script branched to X-AP 9.                                                                                                                                                                                                   ƒCode 47 lets you set or clear a quest flag.  In the previous example it checked to see if quest 1 was set.  We will now set quest 1 as complete.  Try walking over code 46 again to see the result.                                                            çTo clear a flag use a negative quest ID.  Example:  Code 47 ID 1 will set quest 1 to complete.  Code 47 ID -1 will set quest 1 to incomplete.                                                                                                                  ıCode = 48 lets you send only part of the party to battle.  The battle will only involve those that are currently picked.  In this example we will first use a code 14 to pick 2 characters and use code 48 to send only those 2 characters to battle.          ¿Code = 49 will let the player access banking features from a shop.  To use it, just place a code 49 prior to a code 6 (Load shop).  The below well icon has a shop.  It will also allow banking.                                                               flCode = 50 will perform checks and then PICK (As in code 14) according to your testing parameters.  In this case, we will perform a test that will PICK all Male Characters.  Then we will damage each picked character 1 point.                                ˛Code = 51 will let you change some aspects of a shop.  In this case we will increase the inflation rate of shop #1 by 100%  (That is the one on the well tile just below and to the left) and we will also add 5    +1 longswords.   Walk on that shop to see. ˚Code = 52 will PICK characters depending on a test that covers some miscellaneous things. For more detailed info on the various conditions you can test for see the manual.  In this case we will PICK the current character selected and will do 1 damage.    ›Code = 53  will PICK characters based on caste.  You can pick a specific caste or you can pick by caste types.  In this case we will pick all Magical Castes.  We will then give all picked characters protection from magic.                                  œCode 54 can be used to alter or activate timed encounters.  In this case we will activate time encounter #1 and set it to activate one day from now.  It will take place the next time the clock hits midnight.                                                bTime Encounter 1 has activated.  It was set to go off one day from the time you hit the CODE 54.                                                                                                                                                               ©Code = 55 will branch depending on some checks as to the nature of those that are currently picked.  Right now we will have you pick 1 character.  Go ahead, pick one....                                                                                      ãNow we will branch to X-AP #11 if you happened to have picked character #2.  If  you did we will branch.  If not the script will just exit.                                                                                                                    lYou picked character #2.  Because that's the one we checked for it branched to X-AP #11.  Now feel the pain!                                                                                                                                                   §Code = 56 will let you branch on the outcome of a battle.  In this case, if you are defeated it will branch to X-AP 12.  Otherwise it will continue with the script.                                                                                           GYou were killed.  This is X-AP 12 that was branched to when you failed.                                                                                                                                                                                        ]You were victorious.  This script continued as it was set to branch to X-AP 12 if you failed.                                                                                                                                                                  üCode = 60 will allow you to alter the status of the characters money.  It does not do any checking or branching.  It just takes money away from the characters.                                                                                                ˚Code = 81 will let you branch depending on the outcome of a test for a specific condition suffered by a character.  We will now check to see if the character in the first position is suffering from Protection from 2nd level spells and heal them if so.    …Your character was protected from 2nd level spells so we will now heal that character.  First we will use a code 53 to Pick on Misc and pick the first character then we will heal all picked characters.                                                      ?Your character was NOT protected so no healing will take place.                                                                                                                                                                                                jCode = 82 turns the ability of your characters to TURN undead, demons, daemons or other nether beings off.                                                                                                                                                     ≤Code = 83 turns the ability of your characters to TURN undead, demons, daemons or other nether beings on.  This only has an effect if it was previously turned OFF with a code 82.                                                                             gAll we did was check to see if you picked the Second Character in your lineup.  Looks like you did not.                                                                                                                                                        ”Code = 85 does a branch to a random X-AP, Simple or Complex encounter.  It branches to a random ID from within a range of IDs you specify.  In this case we will branch to a random X-AP between X-AP 16 to X-AP 18                                            This is X-AP 16                                                                                                                                                                                                                                                This is X-AP 17                                                                                                                                                                                                                                                This is X-AP 18                                                                                                                                                                                                                                                ˛Code = 86 branches depending on a check for a miscellaneous race, caste, gender, race class or caste class.  See (Key Codes Menu) for valid values to test for.  In addition, if you test for a Negative value for Race or Caste it will only test picked PCs. 4No elves present so this script was set to continue.                                                                                                                                                                                                           ?You had an elf in the party so this script branched to X-AP 19.                                                                                                                                                                                                ¸Code = 87 will let you brach depending on whether or not a special character is with the party. (NPC = Non Player Character)  In this case we will test for a goblin shaman.  If he is with the party we will heal the entire party.  You can get one below.   9You did not have a goblin shaman so the script continued.                                                                                                                                                                                                      ;You have a goblin shaman so the script branched to X-AP 20.                                                                                                                                                                                                    ™Code = 88 will drop an NPC from the party.  Just specify the monster ID of the creature to drop.  In this case we will now take away the goblin shaman you just picked up.                                                                                     TCode = 89 will Add an NPC.  Now lets add that goblin shaman back to the party again.                                                                                                                                                                           àCode = 90 will take away Victory Points from the party.  In this example we will take 1000 points divided evenly from each party member.                                                                                                                       åCode = 91 will take all equipment from the entire party.  This will make your scenairo VERY unpopular.  We won't demo this ability just now.                                                                                                                   õCode = 92 will allow  you to alter specifics of a Random Rectangle.  In this case we will alter Rectangle #1 so it has no area and in effect eliminates it.                                                                                                    ™Code = 93 will turn the compass ON if it was previously turned OFF.  The compass only comes into play in 3D dungeons.  We will not demonstrate this as it's pretty  basic.                                                                                     ™Code = 94 will turn the compass OFF if it was previously turned ON.  The compass only comes into play in 3D dungeons.  We will not demonstrate this as it's pretty  basic.                                                                                     £Code = 95 will change the direction of the party if they are in a dungeon.  For ID, 1 = North, 2 = East, 3 = South and 4 = West.  We will not demonstrate this now.                                                                                            ®Code = 96 will eliminate the ability for the player to see a 3D dungeon from the overhead or map view.  It will require them to navigate the dungeon all in the 3D mode.                                                                                       ΩCode = 97 will enable the player to see a 3D dungeon from an overhead or map view.  They can toggle between the view styles by hitting the space key.  We will not demonstrate this code now.                                                                  ˘Before we go through code 84 we need to move to land level 1 as we are almost out of action points on land level 0.  As you know, each land level can only have 0-99 action points.  We will continue this tutorial on land level 1.  Let's go there now.      >This cave will take you back to land level 0 and codes 1 - 97.                                                                                                                                                                                                 ÎCode = 99 is the code you use to prompt the player for the code to register the scenario.  This code should be placed in a bottleneck location.  i.e.  A location that MUST be crossed in order to gain access to the rest of the scenario.                    aWe will not demonstrate this code just now as there is no need to register the tutorial scenario.                                                                                                                                                              ˙Code = 84 will test to see if the scenario is currently registered and exit the game if not.  This is a crude form of protection to insure that people register the scenario.  A good use of this code is to place a rectangle that covers an entire area.     ÊThis rectangle should be in an area that can't be reached unless registered.  Then have it branch to an X-AP say 1,000 times in 10,000.  That X-AP will do one thing and one thing only, check to see that the scenario is registered.                         ˛Code = 100 will end a battle in progress.  This should only be used as part of a Monster Macro or Battle Macro.  As an example, you can have a battle check for the death of a NPC at the end of each round.  If the NPC is dead, then you can end the battle. ΩWe will now give just such an example.  First we will use a code 89 to add a goblin shaman to your party then send you to battle.  The battle will continue as long as the shaman is alive.                                                                    More ants join the fray.                                                                                                                                                                                                                                       ^This battle ended because the goblin shaman was killed.  Way to let a friend get sacked buddy.                                                                                                                                                                 ÓCode = 103 will let you either continue or exit an action point after testing if the party is in a boat.  Enter the boat and move around.  Somewhere in that water it will test to see if you are in a boat and give you a message if you are.                 ®Code = 104 will let you turn on or off the ability for the party to encounter random battles.  A value of 0 in the ID will turn it OFF and a value of 1 will turn it ON.                                                                                       éThis can often be used to temporarily turn off random battles when the party is in a safe zone or hidden passage that would not have a patrol.                                                                                                                 OYou are in a boat just now.  Good thing or you would be all wet and very tired.                                                                                                                                                                                ªCode = 106 will let you change the light status of a land level.  i.e.  You can make a normal land level require light to see and vice versa.  For example, lets now make this a Dark Land.                                                                    Now let's return it to light.                                                                                                                                                                                                                                  „Code = 107 is similar to code 48 in that it lets you send to battle only those characters that are picked.  However, it also lets you branch to a X-AP if the party fails to achive victory.  Pick a pair of characters for battle.                            7You failed to achieve victory so it branched to X-AP 23                                                                                                                                                                                                        mYou achieved victory so it continued with this script.  If you had failed, it would have branched to X-AP 23.                                                                                                                                                  This is extra action point #0                                                                                                                                                                                                                                  ÜMaps can also show scrolling text as a map.  You can show scrolling text using a code 62 as well without having to use a map to do it.                                                                                                                         ÊPicture resources can also be used as a map.  This example will just flash the standard splash screen as the map when you view map #3.  You could use any picture you wanted as a map once you add the picture to your scenario files.                         ~For more information on how to add pictures to your scenario see the chapter "Adding Pictures To Your Scenario" in the manual.                                                                                                                                 ì                                                                                                                                                                                                                                                               ÅCode 61:  Lets you move the party around.  In this example we will move them a random amount from 1 to 10 paces in any direction.                                                                                                                              jCode 61 can also be used to move the party an exact amount.  In this case we will move them 4 steps south.                                                                                                                                                     ‡This is an example of how you can create a secret passage through a mountain.  Since the end path land tiles are impossible to move through, you need to make the end sections action points to allow the party to walk on them.                               ÄThis is an example of how to make a secret door in a dungeon.  Once found, it will appear as an archway to the party in 3D mode.                                                                                                                               #You exit a dungeon using a code 37.                                                                                                                                                                                                                            çIf you walk due south, at the end of the hall on the left is a secret passage.  This will show you how to code a secret passage in a dungeon.                                                                                                                  gWe will now make it so the party can't camp.  To allow the party to camp again, walk on the "66" below.                                                                                                                                                        5We will now make it so the party can camp once again.                                                                                                                                                                                                          ˘Code 58 is new in version 1.0.5  It lets you alter the game clock.  You can either set an absolute game time or offset the clock a set amount of time.  NOTE:  No time encounters or other events between the two time settings will be activated if any.      GNow we will just change the game time to 3:30 in the morning on Day 12.                                                                                                                                                                                        LFirst we will offset the clock by +3:02:25  (3 days, 2 hours and 25 minutes)                                                                                                                                                                                   ≤As an example, the two well icons below.  The top well is scripted to change the script of the well below it.  The bottom well is scripted to change the script of the well above.                                                                             ÀCode 59 lets you test the tile the party is standing on and branch depending on the result.  In this case we will test to see if you are on tile ID -105  which is the tile that looks like a big number 5.                                                    õYou are standing on the big 5 tile.  This is most often going to be used for random encounters where the party could be anywhere inside a rectangular area.                                                                                                    nMaps can display larger areas by reducing the size of the tiles.  Here is an example that shows a larger area.                                                                                                                                                 ˝Code 62: Display scrolling text.  Similar to the way you can scroll text as a map, you can display a scrolling text without having to build and use a map.  For details on adding TEXT to your scenario files select Code 62 from the Menu or see the manual.  ;We will now demonstrate how you can display scrolling text.                                                                                                                                                                                                    ËCode 36 will allow you to capture all the parties equipment.  You can later give it back 100% intact.  It also captures all wealth.  If the party collects any items between when their equipment is captured and when it is returned...                       Îthe new equipment (If any) will be removed and given back to the party to the party in one lump using the treasure collection screen along with their wealth.  We will now take all  your equipment.  To get it back, walk on the 36 below.                    DWe will now give you back all the equipment and wealth we just took.                                                                                                                                                                                           IA goblin shaman was just added to your party.  Check out the Allies menu.                                                                                                                                                                                      §Code 28 will let you center the game screen after displaying a picture.  Lets display a picture now and then center the game screen after the user clicks the mouse.                                                                                                                                                                                                                                                                                                                                                          ¸Code 67: Branch on item charges will test to the party for a specific item and then branch depending on whether or not a specific number of charges are available.  In this case we will test for a flasks of oil, you need at least 5 charges to test true.   LYou can get a flask of oil at the well below and come back to test it again.                                                                                                                                                                                   HYou DID have a flasks of oil with at least 5 charges total in the party.                                                                                                                                                                                       ?You DID NOT have at least 5 charges of oil flasks in the party.                                                                                                                                                                                                éYou can also have it set your boat status.  i.e.  You can put the party into or remove them from a boat.  Right now we will put you in a boat.                                                                                                                 ≥Granted, it looks pretty silly you being in a boat in the middle of a field but it can be used for interesting things.  We will now remove you from the boat using another code 103                                                                            ’Code 101: Back up party.  This will back the party up 1 pace in the opposite direction from which they entered the current land tile.  This code does not work in dungeons.  We will no use it to back you up 1 pace.                                          úCode 68: Alter Party Fatigue    This will let you change the fatigue level of the party.  In this case, we will set it to 50% of your current fatigue level.                                                                                                   ˚Code 69:  Set Spell Casting / Charging Flags.  You can use a code 69 to keep either the party, or Monsters/NPCs from casting spells.  You can also use it to disable recharging of spell points.  You can use the same code to turn them all back on again.    ∞We will not turn off all spell casting and spell point recharging.  Go ahead.  Just try to cast some spells.  If you walk on the bolder below it will turn it all back on again.                                                                               1Turning all spell casting and recharging back on.                                                                                                                                                                                                              èCode 57 : Lets you change the land look of an entire land level.  First we will change this to swamp.... then we will change it back to plains.                                                                                                                ÎCode 70:  Lets you store the current postion of the party and then later restore the party to that same position.  In this example, we will now store your current location.  When you walk on the well below it will restore your postion.                    qWe will now use another code 70 to restore the party to the last saved postion.  Should not be much of a journey.                                                                                                                                              €Code 71:  Allows you to turn the X: Y: display on or off.  An ID of 0 will turn the display on while an ID of 1 will turn the display off.  Lets disable it now.  See how the X: Y: only shows a ? instead of the location.                                    FUse code 71 with an ID of 0 to enable the display again.  Like this...                                                                                                                                                                                         ÿCode 120:  Alter NPC • Monster During Combat.  This can be used in Monster and Battle Macros only.  This will allow you to change an NPC or Monsters icon or traiter (Side) during combat.  Lets give it a try shall we.                                       First we will send you to a battle.  At the end of the first round all creatures will mutate into a different creature.  The stats will be the same but the icon will change.  After that, we will change 1 of them to be friendly to the party.               \Now that we just changed them all to the troll icon, lets change one of them to be friendly.                                                                                                                                                                   çIn this example, we will only test for those characters that are picked.  First, lets pick some characters.  Just select 3 brave troopers....                                                                                                                  fGood, now we will test to see if any of them are a warrior caste.  If so, we will damage them 1 point.                                                                                                                                                         ,Nobody picked was of a Warrior Caste.  Swee!                                                                                                                                                                                                                   iYou had at least one that WAS of a warrior caste so we did one point of damage to those that were picked.                                                                                                                                                      ˘Here is an example of how you can test for the total number of skill levels of the party or of those currently picked.  In this case we will tally up the levels of any 3 characters you pick.  If it is over 90 we will damage those characters 1 point.      0They did not have a total of at least 90.  Swee!                                                                                                                                                                                                               _The total was over 90 skill levels.  Face the wraith of a single hailstone from heaven!  Doink!                                                                                                                                                                ˛Code 72 lets you test for a range of Quests being set to TRUE.  If all are TRUE then the script will branch.  Right now all are not set so if you walk on the house below it will tell you that.  That house will then set them to all TRUE, walk on it again. ,Quests 5 through 9 were not all set to TRUE.                                                                                                                                                                                                                   (Quests 5 through 9 were all set to TRUE.                                                                                                                                                                                                                       ÍCode 73: Lets you load a shop and place restrictions on the items the shop keeper will deal with.  In this example, the shack below has a shop keeper that will only purchase and sell armor.  (Even though he shows other items for sale)                     ÒCode 74: Take • Give Spell Points to Picked Characters.  In this example we will have you pick 1 character that has spell points.  We will then take 10-20 spell points and then give back 10.  Go ahead, pick 1 character that has spell points.              AWe will now take away a random amount from 10 to 20 spell points.                                                                                                                                                                                              &We will not give back 10 spell points.                                                                                                                                                                                                                         ıCode 75: Branch on Spell Points.   This will check the characters current spell points and branch depending on whether or not any tested character has at least as many as required by the test.  In this case we will now test for 400 spell points.          xIf any one character has at least 400 spell points you will hear some speech.  Otherwise you will be told to rest a bit.                                                                                                                                        Rest a bit.                                                                                                                                                                                                                                                    flThis tutorial is not a tutorial on how to play Realmz but a tutorial on how to develop scenarios to be played in Realmz.  If you have no interest in actually making your own scenarios for fun and profit then read no futher.                                √However, if the idea of making your own scenarios and maybe even distributing them as shareware is something that appeals to you then check out  the Divinty DEMO included with this copy of Reamz.                                                            ¸This TUTORIAL scenairo is part of that DEMO and gives you practical examples of how to do almost anything.  Examples on how to set up battles, treasures, shops ect.  Divinity is $45 and includes a full copy of the Realmz Character Editor (a $10 value).   ⁄Remember, you can distribute your scenarios for free -OR- you can charge a shareware fee.  If you make a cool scenario you can easily make back your purchase price of Divinty and then some by selling only a few copies.                                     ÅIf you have ever wanted to make a fantasy role playing game then don't miss your chance.  It will NEVER get any easier than this!